<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('修改拣选区货位管理')" />
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-spaceManage-edit" th:object="${basSelectSpace}">
            <input name="spaceId" th:field="*{spaceId}" type="hidden">
            <div class="form-group">    
                <label class="col-sm-3 control-label">区域编号：</label>
                <div class="col-sm-8">
                    <input name="spaceId" th:field="*{spaceId}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">货位编号：</label>
                <div class="col-sm-8">
                    <input name="cargoSpaceId" th:field="*{cargoSpaceId}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">货位状态：</label>
                <div class="col-sm-8">
                    <input name="statue" th:field="*{status}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">货位类型：</label>
                <div class="col-sm-8">
                    <input name="style" th:field="*{style}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">托盘条码：</label>
                <div class="col-sm-8">
                    <input name="trayCode" th:field="*{trayCode}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">是否锁定：</label>
                <div class="col-sm-8">
                    <input name="lock" th:field="*{lock}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">备用：</label>
                <div class="col-sm-8">
                    <input name="by1" th:field="*{by1}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">备用：</label>
                <div class="col-sm-8">
                    <input name="siteName" th:field="*{siteName}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">备用：</label>
                <div class="col-sm-8">
                    <input name="by3" th:field="*{by3}" class="form-control" type="text">
                </div>
            </div>
        </form>
    </div>
    <th:block th:include="include :: footer" />
    <script th:inline="javascript">
        var prefix = ctx + "BasSelectSpace/spaceManage";
        $("#form-spaceManage-edit").validate({
            focusCleanup: true
        });

        function submitHandler() {
            if ($.validate.form()) {
                $.operate.save(prefix + "/edit", $('#form-spaceManage-edit').serialize());
            }
        }
    </script>
</body>
</html>